﻿using MediatR;
using ProduceBasicData.ErrorCode;

namespace ProduceBasicData.Api.Application.Command.Production
{
    /// <summary>
    /// 产线管理信息更新命令类
    /// </summary>
    public class UpdateProductionCommand : IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 主键id
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 产线名称
        /// </summary>
        public string Productionname { get; set; }

        /// <summary>
        /// 产线描述
        /// </summary>
        public string Productiondesc { get; set; }

        /// <summary>
        /// 所属车间
        /// </summary>
        public int Workshopid { get; set; }


        /// <summary>
        /// 更新人
        /// </summary>
        public string UpdateName { get; set; }


        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
    }
}
